package com.teame.readbaby.parser;

import java.util.List;

import org.json.JSONException;

import com.alibaba.fastjson.JSONObject;
import com.teame.readbaby.vo.AddressListInfo;
import com.teame.readbaby.vo.Cart_addup;
import com.teame.readbaby.vo.CheckOutAddressInfo;

public class Cart_AddupParser extends BaseParser<Cart_addup> {

	@Override
	public Cart_addup parseJSON(String paramString) throws JSONException {
		String result = checkResponse(paramString);
		if (result == null) {
			return null;
		}

		JSONObject jsonObject = JSONObject.parseObject(paramString);
		String jsonstr = jsonObject.getString("cart_addup");
		Cart_addup cart_addup = JSONObject.parseObject(jsonstr, Cart_addup.class);
		return cart_addup;
	}

}
